from django.db import models


# Create your models here.
# 商家类
class Merchant(models.Model):
    merchant_id = models.AutoField(primary_key=True)
    merchant_name = models.CharField(max_length=30)
    boss_phone = models.CharField(max_length=11, unique=True)
    boss_pwd = models.CharField(max_length=20)

    class Meta:
        managed = True
        db_table = 'merchant'
